package com.itheima.sbdemo;
/*
length();
reverse();
toString();
 */
public class Demo04 {

    public static void main(String[] args) {
        StringBuilder sb = new StringBuilder("魑魅魍魉吴亦凡");
        int length = sb.length();
        System.out.println(length);
        sb.reverse();
        //System.out.println(reverse);
        System.out.println(sb);
        String s = sb.toString();//马-> 骡子
        System.out.println(s);



    }


}
